package{
	import flash.display.Sprite;
	import flash.display.MovieClip;
	
	import gs.TweenLite;
	import gs.TweenMax;
	import gs.easing.*;
	
	public class Start extends Sprite{
		public function Start():void
		{
			init();
		}
		private function init():void
		{
			// 일반 트윈
			//TweenLite.to(mc, 1, {x:46, y:43, scaleX:1, scaleY:1, rotation:0, alpha:1, ease:Quint.easeOut});
			/* 			
			// Delay
			TweenLite.to(mc, 1, {x:46, y:43, scaleX:1, scaleY:1, rotation:0, alpha:1, delay:2, ease:Quint.easeOut});
			
			// 색깔	
			TweenLite.to(mc, 1, {tint:0xFF33CC});
			
			// 볼륨
			TweenLite.to(mc, 1.5, {alpha:0.5, x:120, volume:0});
			
			// 함수 콜
			TweenLite.to(mc, 5, {alpha:0.5, x:120, ease:Back.easeOut, delay:2, onComplete:onFinishTween, onCompleteParams:[5, clip_mc]});
			 */
			 
			// 베지어
			TweenMax.to(mc, 3, {x:0, y:0, bezierThrough:[{x:322, y:109}], orientToBezier:true, ease:Bounce.easeOut});
		}
		
		private function onFinishTween(parameter1:Number, parameter2:MovieClip):void {
		    trace("The tween has finished! parameters: " + parameter1 + ", and " + parameter2);
		}
	}
}